<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The Yar_Concurrent_Client class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yar-client.setopt.html">Yar_Client::setOpt</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yar-concurrent-client.call.html">Yar_Concurrent_Client::call</a></div>
 <div class="up"><a href="book.yar.html">Yar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.yar-concurrent-client" class="reference">

 <h1 class="title">The Yar_Concurrent_Client class</h1>
 

 <div class="partintro"><p class="verinfo">(No version information available, might only be in Git)</p>


  <div class="section" id="yar-concurrent-client.intro">
   <h2 class="title">简介</h2>
   <p class="para">

   </p>
  </div>


  <div class="section" id="yar-concurrent-client.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">Yar_Concurrent_Client</strong>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">static</span>
      <var class="varname"><a href="class.yar-concurrent-client.html#yar-concurrent-client.props.callstack">$<var class="varname">_callstack</var></a></var>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">static</span>
      <var class="varname"><a href="class.yar-concurrent-client.html#yar-concurrent-client.props.callback">$<var class="varname">_callback</var></a></var>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">static</span>
      <var class="varname"><a href="class.yar-concurrent-client.html#yar-concurrent-client.props.error-callback">$<var class="varname">_error_callback</var></a></var>
    ;</div>


    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">int</span><span class="methodname"><a href="yar-concurrent-client.call.html" class="methodname">call</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$uri</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$method</code></span>
   , <span class="methodparam"><span class="type">array</span> <code class="parameter">$parameters</code></span>
   [, <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$callback</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">boolean</span><span class="methodname"><a href="yar-concurrent-client.loop.html" class="methodname">loop</a></span>
    ([ <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$callback</code></span>
   [, <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$error_callback</code></span>
  ]] )</div>

   }</div>


  </div>

  

  <div class="section" id="yar-concurrent-client.props">
   <h2 class="title">属性</h2>
   <dl>

    
     <dt id="yar-concurrent-client.props.callstack"><var class="varname"><var class="varname">_callstack</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yar-concurrent-client.props.callback"><var class="varname"><var class="varname">_callback</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yar-concurrent-client.props.error-callback"><var class="varname"><var class="varname">_error_callback</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
   </dl>

  </div>



 </div>

 















<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="yar-concurrent-client.call.html">Yar_Concurrent_Client::call</a> — 注册一个并行的服务调用</li><li><a href="yar-concurrent-client.loop.html">Yar_Concurrent_Client::loop</a> — 发送所有注册的并行调用</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yar-client.setopt.html">Yar_Client::setOpt</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yar-concurrent-client.call.html">Yar_Concurrent_Client::call</a></div>
 <div class="up"><a href="book.yar.html">Yar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
